package com.qiangesoft.im.pojo.dto.query;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * 聊天查询参数
 *
 * @author qiangesoft
 * @date 2023-04-06
 */
@ApiModel(value = "聊天查询参数")
@Data
public class MessageQueryDTO {

    @ApiModelProperty(value = "聊天会话id")
    @NotNull(message = "聊天会话id不能为空")
    private Long chatId;

    @ApiModelProperty(value = "消息类型")
    private String messageType;

    @ApiModelProperty(value = "消息")
    private String message;
}
